package com.wangxinenpu.springbootdemo.dataobject.vo.system;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class SystemVo {

	@ApiModelProperty(value = "id" )
	private String id;

	@ApiModelProperty(value = "系统名称" )
	@NotBlank(message = "系统名称不能为空")
	private String systemName;

	@ApiModelProperty(value = "系统编码" )
	@NotBlank(message = "系统编码不能为空")
	private String systemCode;

	@ApiModelProperty(value = "所属组织" )
	@NotEmpty(message = "所属组织不能为空")
	private List <String> orgIds;

	@ApiModelProperty(value = "系统KEY" )
	private String systemKey;

	@ApiModelProperty(value = "系统SECRET" )
	private String systemSecret;

	private String orgId;

}
